package org.alps.pattern.strategy.promotion;

/**
 * 优惠活动
 * @date 2021-05-01
 * @author zkw
 */
public class PromotionActivity {

    PromotionStrategy promotionStrategy;
    public PromotionActivity(PromotionStrategy promotionStrategy) {
        this.promotionStrategy = promotionStrategy;
    }

    public void execute() {
        this.promotionStrategy.doPromotion();
    }
}
